Skipping an Activity |
|
Before you begin this task:
You must have the Process Administrator role in Process Platform Business Process Engine application package to skip an activity during execution of a business process.
During the execution of a business process, if there is an error in executing a service, the Process Engine aborts the process with an error condition. A process administrator can restart a process, however, you cannot restart the process, if:
- the service is an insert activity and the insertion failed due to unique key violation in the backend,
- it is not possible to reach the backend system,
- there is an unforeseen problem in the execution of the activity, or
- you want to skip every artifact including sub processes both from the All Process Instances and Graphical views.
In such cases, you can skip the aborted activity and continue the process. If the output from the skipped activity is required for subsequent activities in the business process, the output message of the activity must be provided. The output message provided is updated in the Message Map, and the activity that caused the abortion is skipped during execution and the business process continues.
- In the My Applications App Palette, click (Process Instance Manager). The Process Instance Manager appears displaying a list of business processes that have process instances.
- Click (Find) on the toolbar. The Filter Process Instances window appears.
- Type the selection criteria.
- Click OK. All process instances that match the specified criteria appear.
- Click the instances for which you want to view the status. The Instances by Process Definition window appears.
- Select the aborted process instance whose activity you want to skip and click (Skip Activity). Alternatively, right-click the process instance and select Skip Activity. If the activity you want to skip has an output message defined in the WSDL, then the Message dialog box appears where from it captures the output message.
- Type the parameter values and click OK. The business process is continued.
You have successfully skipped the activity of the aborted process instance.